<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>测试HelloWorld</title>
	</head>

	<body>
		<div><span id="slogen">Hello World!</span></div>
	</body>

	<script type="text/javascript">
		window.onload = function() {
			var span = document.getElementById("slogen");
			span.innerHTML = "你好，世界和平!";
		}
	</script>

</html>